<?php

namespace app\controller;

use app\BaseController;

class Index extends BaseController
{
    public function index():string
    {

//        return '<style>*{ padding: 0; margin: 0; }</style><iframe src="https://www.thinkphp.cn/welcome?version=' . \think\facade\App::version() . '" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>';
        return "think php8.0"."dadwada";
    }
    //默认路由值，关闭该处，前往Config/app.php中设置false
    public function hello($name = 'ThinkPHP8'):string
    {
        return 'hello,' . $name;
    }

    public function test($info)
    {
        return $info;
    }
}
